package com.svse.dao;

import java.util.List;

import com.svse.vo.Userinfo;

public interface UserinfoDAO {

	// property constants
	public static final String UNAME = "uname";
	public static final String UPWD = "upwd";

	public abstract void save(Userinfo transientInstance);

	public abstract void delete(Userinfo persistentInstance);

	public abstract Userinfo findById(java.lang.Integer id);

	public abstract List findByExample(Userinfo instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByUname(Object uname);

	public abstract List findByUpwd(Object upwd);

	public abstract List findAll();

	public abstract Userinfo merge(Userinfo detachedInstance);

	public abstract void attachDirty(Userinfo instance);

	public abstract void attachClean(Userinfo instance);

}